package com.sita.linboard.person;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.sita.linboard.R;
import com.sita.linboard.base.BaseActivity;

/**
 * Created by Jason on 2016/9/26.
 */
public class AboutActivity extends BaseActivity {
    private LinearLayout back;
    private TextView head;
    @Override
    protected void initData() {
        back.setVisibility(View.VISIBLE);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }

        });
        head.setText("个人设置");
        head.setVisibility(View.VISIBLE);

    }

    @Override
    protected void initView(Bundle savedInstanceState) {
       back = bindView(R.id.img_back);
        head = bindView(R.id.head_title);

    }

    @Override
    protected int getId() {
        return R.layout.activity_about;
    }
    public static void AboutIntent(Context context){
        Intent intent = new Intent(context,AboutActivity.class);
        context.startActivity(intent);
    }
}
